package com.spm.pojo;

import java.io.Serializable;
import java.util.List;

//学生某门课成绩类
public class StudentGrade implements Serializable {
    //学号
    private String sid;
    //姓名
    private String sName;
    //班级
    private String cClass;
    //课程成绩
    private Grade grade;


    public StudentGrade() {
    }

    public StudentGrade(String sid, String sName, String cClass,Grade grade) {
        this.sid = sid;
        this.sName = sName;
        this.cClass = cClass;
        this.grade = grade;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getcClass() {
        return cClass;
    }

    public void setcClass(String cClass) {
        this.cClass = cClass;
    }

    public Grade getGrade() {
        return grade;
    }

    public void setGrade(Grade grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "StudentGrade{" +
                "sid=" + sid +
                ", sName='" + sName + '\'' +
                ", cClass='" + cClass + '\'' +
                ", grade=" + grade +
                '}';
    }
}
